package com.fifth.sso.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @作者：刘壬杉
 * @创建时间 2022/8/29 18:33
 **/
@FeignClient(value = "mrcai-permission")
public interface PermissionFeign {
    @GetMapping("/api/permission/findByEmpid/{empid}")
    public List<String> permission(@PathVariable String empid);
}
